/**
 * 插件
 * @author shenyc
 */
import type { App } from "vue";

import { pluginComponent } from "./modules/plugin-component";
import { pluginDirective } from "./modules/plugin-directive";
import { pluginElementPlus } from "./modules/plugin-element-plus";
import { pluginIconfont } from "./modules/plugin-iconfont";
import { pluginLocale } from "./modules/plugin-locale";
import { pluginRouter } from "./modules/plugin-router";
import { pluginStore } from "./modules/plugin-store";
import { pluginStyle } from "./modules/plugin-style";

export default {
    install: (_app: App) => {
        _app.use(pluginComponent)
            .use(pluginDirective)
            .use(pluginElementPlus)
            .use(pluginIconfont)
            .use(pluginLocale)
            .use(pluginStore)
            .use(pluginRouter)
            .use(pluginStyle);
    },
};

// export const pluginRouter;
